package com.example.prometheuswrite.write;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigInteger;

/**
 * @author fred
 * @date 2022/7/15 09:5505
 * @description todo
 */
public class SendData {

    private BigInteger in;
    private BigInteger out;
    private Long index;
    private Long timestamp;
    @JsonProperty("snmp_id")
    private Long snmpId;
    private String ip;

    @JsonProperty("flow_type")
    private Integer flowType;

    @JsonProperty("flow_id")
    private int flowId = 0;

    private Integer sign = 1;

    private String host;

    public BigInteger getIn() {
        return in;
    }

    public void setIn(BigInteger in) {
        this.in = in;
    }

    public BigInteger getOut() {
        return out;
    }

    public void setOut(BigInteger out) {
        this.out = out;
    }

    public Long getIndex() {
        return index;
    }

    public void setIndex(Long index) {
        this.index = index;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Long getSnmpId() {
        return snmpId;
    }

    public void setSnmpId(Long snmpId) {
        this.snmpId = snmpId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getFlowType() {
        return flowType;
    }

    public void setFlowType(Integer flowType) {
        this.flowType = flowType;
    }

    public int getFlowId() {
        return flowId;
    }

    public void setFlowId(int flowId) {
        this.flowId = flowId;
    }

    public Integer getSign() {
        return sign;
    }

    public void setSign(Integer sign) {
        this.sign = sign;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
